#!/bin/bash

if [ ! -e /redis/conf/redis.conf ]; then
  cp /usr/local/bin/redis.conf /redis/conf
  if [ -n "$PASSWORD" ]; then
    echo "requirepass $PASSWORD" >> /redis/conf/redis.conf
  fi
fi



redis-server /redis/conf/redis.conf
